package com.wangzefeng.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wangzefeng.shop.entity.SysUser;
import com.wangzefeng.shop.mapper.SysUserMapper;
import com.wangzefeng.shop.service.SysUserService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author wangzefeng
 * @since 2021-03-15
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements SysUserService {


    @Override
    public SysUser selectOneByUsername(String username) {
        return baseMapper.selectOneByUsername(username);
    }

    @Override
    public List<SysUser> getUserList(Map<String, Object> map) {
        return baseMapper.getUserList(map);
    }
}
